package com.itcoon.demo.web.controller.index;/**
 * @author Athric Yu
 * 2024/9/25
 **/

import com.itcoon.cloud.framework.webmvc.response.ApiResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @author Athric Yu
 * 2024/9/25
 **/
@Tag(name = "首页")
@RequestMapping("index")
@RestController
public class IndexController {

    @Transactional
    @Operation(summary = "首页")
    @GetMapping()
    public ApiResponse<Void> index(){
        return ApiResponse.ok();
    }

}
